package com.surfacing.rcp.client.providers;

import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.swt.graphics.Image;

import com.surfacing.rcp.model.entity.Einsatzart;

public class EinsatzartLabelProvider extends LabelProvider {
	/**
	 * Returns the image to use for this element.
	 * 
	 * @param object
	 *            the object to get the image for
	 * @return the image to use
	 */
	@Override
	public Image getImage(Object object) {
		return null;
	}

	/**
	 * Returns the text to render.
	 */
	@Override
	public String getText(Object object) {
		Einsatzart member = (Einsatzart) object;
		return member.getEinsatzart();
	}
}
